home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1996 / MacHack 1996.toast / Hacks / Hacks '96 / Adobe Illustrator Plug-ins / AIQuickCapture Project / includes / common.h next >
Encoding:
C/C++ Source or Header  |  1996-06-22  |  1.4 KB  |  71 lines  |  [TEXT/MMCC]

  1. /* ---------------------------------------------------------------------------
  2.  
  3.     common.h
  4.  
  5.     Copyright (c) 1995-6 Adobe Systems Incorporated
  6.     All Rights Reserved
  7.     
  8.    --------------------------------------------------------------------------- */
  9.  
  10.  
  11. #include <A4Stuff.h>
  12.  
  13. #include <stdio.h>
  14. #include <string.h>
  15. #include <Strings.h>
  16. #include <TextUtils.h>
  17.  
  18. #include <QDOffscreen.h>
  19. #include <Memory.h>
  20. #include <ToolUtils.h>
  21.  
  22. #include "AIBlock.h"
  23. #include "AIMenu.h"
  24. #include "AIProperty.h"
  25. #include "AIWindow.h"
  26. #include "AIUser.h"
  27.  
  28. #include "AIFixedMath.h"
  29. #include "AIArt.h"
  30. #include "AIRaster.h"
  31. #include "AIDocumentView.h"
  32.  
  33. /**-----------------------------------------------------------------------------
  34.  **
  35.  **    Types
  36.  **
  37.  **/
  38.  
  39.  
  40. #ifndef GLOBALSTRUCT
  41.     #define GLOBALSTRUCT
  42.     typedef struct {
  43.  
  44.         unsigned char menuText[65], menuOptionsText[65];
  45.         AIMenuItemHandle quickcamMenu, quickcamOptionsMenu;    
  46.         
  47.     } Globals;
  48.  
  49. #endif
  50.  
  51. extern    Globals *g;
  52.  
  53.  
  54. // suite stuff
  55. extern    AIBlockSuite *sBlock;
  56. extern    AIMenuSuite *sMenu;
  57. extern    AIMacMenuSuite *sMacMenu;
  58. extern    AIMacUserSuite *sMacUser;
  59.  
  60. extern AIFixedMathSuite *sMath;
  61. extern AIArtSuite *sArt;
  62. extern AIRasterSuite *sRaster;
  63.  
  64. extern AIDocumentViewSuite2 *sDocumentView;
  65.  
  66. extern FXErr acquireSuites( AIBasicSuite *sBasic );
  67. extern FXErr releaseSuites( AIBasicSuite *sBasic );
  68.  
  69. // other stuff
  70. extern void pstrcopy( unsigned char *from, unsigned char *to );
  71.